package com.qingfeng.client.dao;
import java.util.List;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qingfeng.client.bean.Trade;

/**
 * @author zhangyuefei
 * @version 1.0
 * @date 2020/1/6 10:16 上午
 */
public interface TradeMapper extends BaseMapper<Trade> {

    Trade getByCode(@Param("code")String code);

    List<Trade> getAllByTradeStat(@Param("tradeStat")Integer tradeStat);

    void  canclePayByTradeId(@Param("tradeId")Long tradeId);

}
